<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册中心</title>
<link rel="stylesheet" type="text/css" href="<%=basePath %>/css/top.css" />
<script language="javascript" type="text/javascript" charset="UTF-8" src="<%=basePath %>/js/top.js">
</script>
</head>
<body>
	<jsp:include page="top.jsp"></jsp:include>
	<form action="<%=basePath%>/register" method="post">
		<div id="register">
		<table id="redistertop">
			<tr>
				<td class="right">账号：</td>
				<td class="left">
				<input type="text" name="uname" size="20" id="uname" onblur="checkuname()"/>
				</td>
				<td id="uname1"></td>
			</tr>
			<tr>
				<td class="right">密码：</td>
				<td class="left">
				<input type="password" name="upass" size="20" id="upass" onblur="checkpassword()"/>
				</td>
				<td id="upass1"></td>
			</tr>
			
			<tr>
				<td class="right">再次输入密码：</td>
				<td class="left">
				<input type="password" name="reupass" size="20" id="repass" onblur="checkrepwd()"/>
				</td>
				<td id="repass1"></td>
			</tr>
			
			<tr>
				<td class="right">真实姓名：</td>
				<td class="left">
				<input name="realname" size="20" id="realname"/>
				</td>
				<td id="realname1"></td>
			</tr>
			<tr>
				<td class="right">手机：</td>
				<td class="left">
				<input name="mobile" size="20" id="mobile" onblur="checkphone()"/>
				</td>
				<td id="mobile1"></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
				<input type="submit" value="注册"  size="20" />
				</td>
			</tr>
			</table>
		</div>
	</form>
</body>
</html>